/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package masterclient;

import javax.swing.JFrame;

/**
 *
 * @author Erik
 */
public class Masterclient {
        
    private GUI g;
    private Authentication auth;
    
    public Masterclient(){
        g = new GUI();
        //g.setVisible(true);
        //g.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        auth = new Authentication(this);
        //System.out.println(auth.encrypt("test"));
        //auth.encrtest("test");
    }

    public static void main(String[] args) {
        GUI g = new GUI();
        g.setVisible(true);
        g.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }
    
    public GUI getGUI(){
        return g;
    }
    
    public Authentication getAuth(){
        return auth;
    }
}
